package c.e.a.b.e.c;

import android.annotation.TargetApi;
import java.lang.reflect.Method;

@TargetApi(24)
/* compiled from: com.google.android.gms:play-services-measurement@@18.0.0 */
public final class a4 {
    public static final Method a;
    public static final Method b;

    /* JADX WARNING: Removed duplicated region for block: B:11:0x0039 A:{SYNTHETIC, Splitter:B:11:0x0039} */
    static {
        /*
        r0 = android.os.Build.VERSION.SDK_INT;
        r1 = java.lang.String.class;
        r2 = "JobSchedulerCompat";
        r3 = 6;
        r4 = 0;
        r5 = 24;
        if (r0 < r5) goto L_0x0034;
    L_0x000c:
        r6 = android.app.job.JobScheduler.class;
        r7 = "scheduleAsPackage";
        r8 = 4;
        r8 = new java.lang.Class[r8];	 Catch:{ NoSuchMethodException -> 0x0028 }
        r9 = 0;
        r10 = android.app.job.JobInfo.class;
        r8[r9] = r10;	 Catch:{ NoSuchMethodException -> 0x0028 }
        r9 = 1;
        r8[r9] = r1;	 Catch:{ NoSuchMethodException -> 0x0028 }
        r9 = 2;
        r10 = java.lang.Integer.TYPE;	 Catch:{ NoSuchMethodException -> 0x0028 }
        r8[r9] = r10;	 Catch:{ NoSuchMethodException -> 0x0028 }
        r9 = 3;
        r8[r9] = r1;	 Catch:{ NoSuchMethodException -> 0x0028 }
        r1 = r6.getDeclaredMethod(r7, r8);	 Catch:{ NoSuchMethodException -> 0x0028 }
        goto L_0x0035;
        r1 = android.util.Log.isLoggable(r2, r3);
        if (r1 == 0) goto L_0x0034;
    L_0x002f:
        r1 = "No scheduleAsPackage method available, falling back to schedule";
        android.util.Log.e(r2, r1);
    L_0x0034:
        r1 = r4;
    L_0x0035:
        a = r1;
        if (r0 < r5) goto L_0x004e;
    L_0x0039:
        r0 = android.os.UserHandle.class;
        r1 = "myUserId";
        r4 = r0.getDeclaredMethod(r1, r4);	 Catch:{ NoSuchMethodException -> 0x0042 }
        goto L_0x004e;
        r0 = android.util.Log.isLoggable(r2, r3);
        if (r0 == 0) goto L_0x004e;
    L_0x0049:
        r0 = "No myUserId method available";
        android.util.Log.e(r2, r0);
    L_0x004e:
        b = r4;
        return;
        */
        throw new UnsupportedOperationException("Method not decompiled: c.e.a.b.e.c.a4.m1271clinit():void");
    }
}
